* {
  margin: 0;
  padding: 0;
  user-select: none;
}
html,
body {
  display: block;
  min-height: 100vh;
}
ul,
li,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
}
input,
textarea {
  border: none;
  border: 1px solid #ccc;
}
input,
textarea,
select,
button {
  // 重置苹果默认input样式
  -webkit-appearance: none;
  color: #ccc;
  &[type='radio'] {
    -webkit-appearance: radio;
  }
  &[type='checkbox'] {
    -webkit-appearance: checkbox;
  }
  // 修改点击背景颜色
  -webkit-tap-highlight-color: rgba(#fff, 0);
  outline: none;
}
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

//  移动端特殊样式
.mobile-model {
  body {
    font-size: rem(16);
    padding-top: constant(safe-area-inset-top); //为导航栏+状态栏的高度 88px
    padding-left: constant(safe-area-inset-left); //如果未竖屏时为0
    padding-right: constant(safe-area-inset-right); //如果未竖屏时为0
    padding-bottom: constant(safe-area-inset-bottom); //为底下圆弧的高度 34px
    font-family: 'Colfax';
    font-weight: normal;
    -webkit-overflow-scrolling: touch;
  }
  &::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
  }
  * {
    user-select: none;
  }

  input,
  textarea {
    user-select: auto; /*webkit浏览器*/
  }
  input[type='password'] {
    user-select: none;
  }
}
// 测试代码 自行删除
#app {
  width: 100%;
  min-height: 100vh;
  height: 100%;
}
